import 'package:flutter/material.dart';

class FoodDetail extends StatelessWidget {
  const FoodDetail({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Center(
      child: TextButton(
        child: const Text(
          '菜品详情--点击返回',
          style: TextStyle(color: Colors.red, fontSize: 40),
        ),
        onPressed: () {
          Navigator.pop(context);
        },
      ),
    );
  }
}
